package com.b511.swpu.cementbackend.repository;

import com.b511.swpu.cementbackend.entity.CM_WK_WorkRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CM_WK_WorkRecordRepository extends JpaRepository<CM_WK_WorkRecord, String>, JpaSpecificationExecutor<CM_WK_WorkRecord> {

    List<CM_WK_WorkRecord> findByWellNameAndCasingSizeOrderByWorkNoAsc(String wellName, String casingSize);

}
